package com.wubai.subject.application.convert;


import com.wubai.subject.application.dto.SubjectInfoDTO;
import com.wubai.subject.application.dto.SubjectLabelDTO;
import com.wubai.subject.domain.entity.SubjectInfoBO;
import com.wubai.subject.domain.entity.SubjectLabelBO;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 题目分类dto转换器
 *
 * @author: ChickenWing
 * @date: 2023/10/8
 */
@Mapper
public interface SubjectInfoDTOConverter {

    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);






    List<SubjectLabelDTO> convertBOToLabelDTOList(List<SubjectLabelBO> subjectLabelBOList);




    SubjectInfoBO convertDTOtoBO(SubjectInfoDTO subjectInfoDTO);


    SubjectInfoDTO convertBOToDTO(SubjectInfoBO boResult);
}
